package DataBase;

public class DBMsg {

    public enum State{
        SUCCESS,ERROR
    }

    private final String Info;

    private final State state;

    public DBMsg(State state,String info){
        this.Info=info;
        this.state=state;
    }

    public State getState() {
        return state;
    }

    public String getInfo(){
        return Info;
    }
}
